﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PrintDelivery.aspx.cs" Inherits="CNVP.JShop.Web.Admin.PrintDelivery" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
            <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="IE=7" http-equiv="X-UA-Compatible" />
    <link href="CSS/Print.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/jquery.js" type="text/javascript"></script>
    <style type="text/css" media="print"> .noprint{ display : none } </style>
    <script type="text/javascript">
        function DeliveryIsPrintPic() {
            var chk_pic_print = $("input[name='chk_pic_print']:checked").val();
            //alert(chk_pic_print);
            if (chk_pic_print == "on") {
                $(".DeliveryIsPrintPic").css("display", "");
            }
            else {
                $(".DeliveryIsPrintPic").css("display", "none");
            }
        }
        function IsPrintAddress() {
            var chk_address_print = $("input[name='chk_address_print']:checked").val();
            //alert(chk_pic_print);
            if (chk_address_print == "on") {
                $("#print_address").css("display", "");
            }
            else {
                $("#print_address").css("display", "none");
            }
        }
        $(function () {
            $("#btn_print").click(function () {
                window.print();
            });
        })
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="myPrintArea">
        <asp:Label ID="lbPrintDelivery" runat="server"></asp:Label>
    </div>
    <div id="print_confirm" class="noprint"><div id="btn_print"></div></div>
    </form>
</body>
</html>
